.class public Les/t60;
.super Les/s80;
.source "ESAdbUninstallAppTask.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/t60$a;
    }
.end annotation


# static fields
.field private static final I:Ljava/lang/String;


# instance fields
.field protected D:I

.field protected E:I

.field F:Les/t60$a;

.field protected G:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field

.field H:Ljava/lang/Long;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    const-class v0, Les/r60;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Les/t60;->I:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/util/List;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Les/s80;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Les/t60;->D:I

    .line 3
    iput v0, p0, Les/t60;->E:I

    .line 4
    new-instance v1, Les/t60$a;

    invoke-direct {v1}, Les/t60$a;-><init>()V

    iput-object v1, p0, Les/t60;->F:Les/t60$a;

    .line 5
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Les/t60;->G:Ljava/util/List;

    const-wide/16 v1, 0x0

    .line 6
    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    iput-object v1, p0, Les/t60;->H:Ljava/lang/Long;

    .line 7
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    iput v1, p0, Les/t60;->D:I

    .line 8
    iget-object v1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 9
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    .line 10
    invoke-interface {v1, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 11
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result p1

    .line 12
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v3, 0x0

    :goto_0
    if-ge v3, p1, :cond_2

    .line 13
    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/fs/g;

    invoke-interface {v4}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v4

    if-nez v4, :cond_0

    .line 14
    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/fs/g;

    invoke-interface {v4}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 15
    :cond_0
    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v4, v3, 0x1

    if-eq v4, p1, :cond_1

    const-string v5, " , "

    .line 16
    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v5, 0x4

    if-lt v3, v5, :cond_1

    const-string p1, "..."

    .line 17
    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    :cond_1
    move v3, v4

    goto :goto_0

    .line 18
    :cond_2
    :goto_1
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, p1, Les/w80$a;->j:Ljava/lang/String;

    .line 19
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    const/4 v2, 0x1

    iput-boolean v2, p1, Les/w80$a;->l:Z

    .line 20
    iput-boolean v0, p1, Les/w80$a;->m:Z

    .line 21
    iput-boolean v0, p1, Les/w80$a;->n:Z

    .line 22
    iget-object p1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-ne p1, v2, :cond_3

    .line 23
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iput-boolean v0, p1, Les/w80$a;->o:Z

    .line 24
    :cond_3
    iput-boolean v2, p0, Les/s80;->w:Z

    const/16 p1, 0x1a

    .line 25
    iput p1, p0, Les/s80;->s:I

    .line 26
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result p1

    const-string v3, ""

    const/4 v4, 0x0

    :goto_2
    const/4 v5, 0x3

    const-string v6, ","

    if-ge v4, v5, :cond_5

    if-ne v4, p1, :cond_4

    goto :goto_3

    .line 27
    :cond_4
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v4, v4, 0x1

    goto :goto_2

    .line 28
    :cond_5
    :goto_3
    invoke-virtual {v3, v6}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 29
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v1

    sub-int/2addr v1, v2

    invoke-virtual {v3, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    :cond_6
    const-string v0, "title"

    .line 30
    invoke-virtual {p0, v0, v3}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 31
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    const-string v0, "items_ori_count"

    invoke-virtual {p0, v0, p1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 32
    invoke-direct {p0}, Les/t60;->C()V

    return-void
.end method

.method private C()V
    .locals 7

    .line 1
    iget-object v0, p0, Les/t60;->G:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 2
    iget-wide v2, p0, Les/s80;->p:J

    const-wide/16 v4, -0x1

    cmp-long v6, v2, v4

    if-nez v6, :cond_0

    .line 3
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, p0, Les/s80;->p:J

    .line 4
    :cond_0
    invoke-virtual {p0}, Les/s80;->k()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    const-string v3, "task_id"

    invoke-virtual {p0, v3, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 5
    iget-wide v2, p0, Les/s80;->p:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    const-string v3, "start_time"

    invoke-virtual {p0, v3, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 6
    iget v2, p0, Les/s80;->s:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const-string v3, "task_type"

    invoke-virtual {p0, v3, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 7
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    const-string v2, "restartable"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 8
    invoke-interface {v0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const-string v2, "file_type"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 9
    iget-object v1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const-string v2, "items_selected_count"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 10
    invoke-interface {v0}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "source"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 v0, 0x1

    .line 11
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    const-string v1, "status"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    return-void
.end method


# virtual methods
.method public varargs a(I[Ljava/lang/Object;)V
    .locals 6

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p1, v1, :cond_4

    const/4 v2, 0x2

    if-eq p1, v2, :cond_3

    const/16 v2, 0x8

    if-eq p1, v2, :cond_2

    const/16 v2, 0x9

    if-eq p1, v2, :cond_1

    const/16 v1, 0xd

    if-eq p1, v1, :cond_0

    .line 1
    invoke-super {p0, p1, p2}, Les/s80;->a(I[Ljava/lang/Object;)V

    goto :goto_0

    .line 2
    :cond_0
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    const-wide/16 v1, 0x64

    iput-wide v1, p1, Les/w80$a;->g:J

    .line 3
    iput-wide v1, p1, Les/w80$a;->h:J

    .line 4
    aget-object p2, p2, v0

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    .line 5
    invoke-virtual {p0, p1}, Les/s80;->a(Les/w80$a;)V

    goto :goto_0

    .line 6
    :cond_1
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    iput-wide v2, p1, Les/w80$a;->g:J

    .line 7
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/Long;

    invoke-virtual {p2}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    iput-wide v0, p1, Les/w80$a;->h:J

    goto :goto_0

    .line 8
    :cond_2
    iget p1, p0, Les/t60;->E:I

    add-int/2addr p1, v1

    iput p1, p0, Les/t60;->E:I

    .line 9
    iget-object p1, p0, Les/t60;->F:Les/t60$a;

    iput-boolean v1, p1, Les/t60$a;->a:Z

    goto :goto_0

    .line 10
    :cond_3
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->f:J

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->f:J

    .line 11
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    .line 12
    invoke-virtual {p0, p1}, Les/s80;->a(Les/w80$a;)V

    goto :goto_0

    .line 13
    :cond_4
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->d:J

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->d:J

    .line 14
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    :goto_0
    return-void
.end method

.method public c()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public y()Z
    .locals 7

    const/4 v0, 0x0

    .line 1
    :try_start_0
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    iget-object v2, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    int-to-long v2, v2

    iput-wide v2, v1, Les/w80$a;->c:J

    .line 2
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v1, v1, Les/w80$a;->f:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    iput-object v1, p0, Les/t60;->H:Ljava/lang/Long;

    .line 3
    iget-object v1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    .line 4
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    iget-object v2, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Les/w80$a;->a:Ljava/lang/String;

    .line 5
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, v1}, Les/s80;->a(Les/w80$a;)V

    .line 6
    :cond_0
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    const/4 v2, 0x3

    iput v2, v1, Les/w80$a;->i:I

    .line 7
    :goto_0
    iget-object v1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_4

    .line 8
    invoke-virtual {p0}, Les/s80;->z()Z

    move-result v1

    if-eqz v1, :cond_1

    return v0

    .line 9
    :cond_1
    iget-object v1, p0, Les/t60;->G:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 10
    instance-of v3, v1, Lcom/estrongs/fs/impl/adb/a;

    if-nez v3, :cond_2

    .line 11
    sget-object v1, Les/t60;->I:Ljava/lang/String;

    const-string v3, "task error invalid  AdbAppFileObject"

    invoke-static {v1, v3}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v1, 0x8

    new-array v3, v0, [Ljava/lang/Object;

    .line 12
    invoke-virtual {p0, v1, v3}, Les/s80;->b(I[Ljava/lang/Object;)V

    goto :goto_0

    .line 13
    :cond_2
    check-cast v1, Lcom/estrongs/fs/impl/adb/a;

    .line 14
    iget-object v3, p0, Les/s80;->c:Les/w80$a;

    const-wide/16 v4, 0x1

    iput-wide v4, v3, Les/w80$a;->g:J

    .line 15
    iget-object v3, p0, Les/s80;->c:Les/w80$a;

    const-wide/16 v4, 0x64

    iput-wide v4, v3, Les/w80$a;->h:J

    .line 16
    iget-object v3, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {v1}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Les/w80$a;->a:Ljava/lang/String;

    .line 17
    iget-object v3, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, v3}, Les/s80;->a(Les/w80$a;)V

    .line 18
    invoke-virtual {v1}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/adb/a;->n()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/estrongs/fs/impl/adb/c;->b(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_3

    return v0

    .line 19
    :cond_3
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v3

    invoke-virtual {v3, v1}, Les/p10;->b(Lcom/estrongs/fs/g;)V

    goto :goto_0

    .line 20
    :cond_4
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v3, v1, Les/w80$a;->c:J

    const-wide/16 v5, 0x0

    cmp-long v1, v3, v5

    if-lez v1, :cond_5

    .line 21
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    iget-object v3, p0, Les/s80;->c:Les/w80$a;

    iget-wide v3, v3, Les/w80$a;->c:J

    iput-wide v3, v1, Les/w80$a;->d:J

    .line 22
    :cond_5
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, v1}, Les/s80;->a(Les/w80$a;)V

    .line 23
    const-class v1, Les/v80$f;

    invoke-virtual {p0, v1}, Les/s80;->a(Ljava/lang/Class;)Les/v80$c;

    move-result-object v1

    check-cast v1, Les/v80$f;

    if-eqz v1, :cond_6

    .line 24
    iget v1, p0, Les/t60;->E:I

    iget v3, p0, Les/t60;->D:I

    if-ne v1, v3, :cond_6

    const/4 v1, 0x0

    .line 25
    invoke-virtual {p0, v2, v1}, Les/s80;->b(ILjava/lang/Object;)V

    goto :goto_1

    .line 26
    :cond_6
    iget-object v1, p0, Les/t60;->F:Les/t60$a;

    invoke-virtual {p0, v0, v1}, Les/s80;->b(ILjava/lang/Object;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :goto_1
    const/4 v0, 0x1

    return v0

    :catchall_0
    move-exception v0

    goto :goto_2

    :catch_0
    move-exception v1

    .line 27
    :try_start_1
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    const/16 v2, 0x2710

    .line 28
    new-instance v3, Les/u80$a;

    invoke-virtual {v1}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4, v1}, Les/u80$a;-><init>(Ljava/lang/String;Ljava/lang/Exception;)V

    invoke-virtual {p0, v2, v3}, Les/s80;->b(ILjava/lang/Object;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    return v0

    .line 29
    :goto_2
    goto :goto_4

    :goto_3
    throw v0

    :goto_4
    goto :goto_3
.end method
